package com.car.shopping.service;

import com.car.shopping.controller.form.CantCommodityShouhouForm;
import com.car.shopping.entity.CommodityShouhou;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.shopping.service.dto.CantCommodityShouhouDto;
import com.car.shopping.service.param.CantCommodityShouhouParam;
import com.car.shopping.service.param.ShoppingSHParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface CommodityShouhouService extends IService<CommodityShouhou> {

    public void shoppingSH(ShoppingSHParam param)throws Exception;

    public void allRight(Integer commodityId)throws Exception;

    public void cantCommodityShouhou(CantCommodityShouhouParam param)throws Exception;

    public CantCommodityShouhouDto selectShById(Integer commodityId)throws Exception;

    public List<CommodityShouhou> selectAllSh()throws Exception;

    public List<CommodityShouhou> selectHH()throws Exception;

    public List<CommodityShouhou> selectTH()throws Exception;

    public List<CommodityShouhou> selectShByUserId(Integer commodityUserid)throws Exception;
}
